package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.helper.PageHelper;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.pro.enums.CallCenterTypeEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author youli.chen
 * @version v1.0
 * @description: 批量外呼消费明细列表入参
 * @date 2019/2/25 10:00
 * @since v1.0
 */
@Setter
@Getter
@ToString
public class CallBatchCallConsumeDTO extends BaseDTO {

    private static final Integer DEFAULT_OPERATE_LOG_PAGE_SIZE = PageHelper.PAGE_SIZE;

    /**
     * 团队ID
     */
    private Long depId;
    /**
     * 查询的用户ID
     */
    private String agentUserId;
    /**
     * 话务中心平台，参考CallCenterTypeEnum,批量外呼默认305
     */
    private Integer moduleType;
    /**
     * 页码，默认第 1 页
     */
    private Integer page;
    /**
     * 页容量，默认 20 条
     */
    private Integer pageSize;

    public CallBatchCallConsumeDTO() {
        page = 1;
        pageSize = DEFAULT_OPERATE_LOG_PAGE_SIZE;
        moduleType = CallCenterTypeEnum.CALL_CENTER_XBB.getCode();
    }
}
